import Vue from "vue";
import Vuex from "vuex";
import state from './state.js';
import mutations from './mutations.js';
import actions from './actions.js';
import modules from './modules';
Vue.use(Vuex);

export default new Vuex.Store({
  // state: state,
  // mutations: mutations,
  // actions: actions,
  // modules: modules,
  // 简写
  state,
  mutations,
  actions,
  modules,
});
